<template>
  <div id="nav">
     <router-link to="/music">
       <i class="iconfont icon-yonghu"></i>
      <p>音乐</p>
      </router-link>
      <router-link to="/films" >
      <i class="iconfont icon-dianying"></i>
      <p>电影</p>
      </router-link> 
      <router-link to="/article">
       <i class="iconfont icon-wenzhang-copy"></i>
      <p>阅读</p>
      </router-link> 
     
     
    </div>
</template>

<script>
export default {

}
</script>

<style scoped>
.router-link-active{
  color: orange;
}
#nav{
    text-align: center;
  display: flex;
  z-index: 1000;
  height: 50px;
  border-top: 1px solid #333;
  background-color: #efefef;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  width: 100%;
  left: 0;
  bottom: 0;
}
.iconfont{
  margin-bottom:3px ;
  font-size: 0.4rem !important;
}
</style>